from ultralytics import YOLO
model = YOLO("yolo11n.pt")  #加载模型
results = model(["0b97683c-photo_20251011_170433.jpg", "1f18d248-photo_20251011_171152.jpg"])  #对图片进行预测
for result in results:

    probs = result.probs        # 分类概率（如果是分类任务）
    print(probs)